CVE-2026-27775
Gitea pre-receive hook permission cache allows full repository write access
Description
Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.
INFO
Published Date :
July 3, 2026, 8:19 p.m.
Last Modified :
July 3, 2026, 8:19 p.m.
Remotely Exploit :
No
Source :
Gitea
Affected Products
The following products are affected by CVE-2026-27775
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update Gitea to a patched version.
- Review and re-apply branch protection rules.
- Monitor repository access logs.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-27775 vulnerability anywhere in the article.